﻿@page
@model AdminUI.Pages.BaseData.TenantDetailsModel
@{
    var F = Html.F();
}

@section body{
    <f:Form ID="Form1" ShowBorder="false" ShowHeader="false" AutoScroll="true" BodyPadding="15" IsViewPort="true">
        <Rows>
            <f:FormRow ColumnWidths="30% 30% 40%">
                <Items>
                    <f:TextBox ID="TenantID" Label="租户信息" Text="@($"{Model.Current.TenantID}-{Model.Current.TenantName}")" Readonly="true"></f:TextBox>
                    <f:TextBox ID="WxAppID" Label="应用ID" Text="@Model.Current.WxAppID" Readonly="true"></f:TextBox>
                    @* <f:TextBox ID="CountyID" Label="所在区域" Text="@($"{Model.Current.CityName}-{Model.Current.CountyName}")" Readonly="true"></f:TextBox> *@
                </Items>
            </f:FormRow>
            <f:FormRow ColumnWidths="60% 40%">
                <Items>
                    @* <f:TextBox ID="OwnerName" Label="负责人信息" Text="@($"{Model.Current.OwnerID}-{Model.Current.OwnerName}-{Model.Current.OwnerMobile}")" Readonly="true"></f:TextBox> *@
                    <f:TextBox ID="Phone" Label="联系方式" Text="@($"{Model.Current.Phone}-{Model.Current.Address}")" Readonly="true"></f:TextBox>
                </Items>
            </f:FormRow>

            <f:FormRow ColumnWidths="30% 30% 40%">
                <Items>
                    @*<f:TextBox ID="Balance" Label="账户余额" Text="@Model.Current.Balance" Readonly="true"></f:TextBox>*@
                    @* <f:TextBox ID="ServiceRate" Label="平台分成%" Text="@Model.Current.ServiceRate" Readonly="true"></f:TextBox> *@
                    @* <f:DatePicker ID="ExpiredDate" Label="有效期至" DateFormatString="yyyy-MM-dd" EnableEdit="false" Readonly="true" SelectedDate="@Model.Current.ExpiredDate"></f:DatePicker> *@
                </Items>
            </f:FormRow>
@*            <f:FormRow ColumnWidths="30% 30% 40%">
                <Items>
                    <f:DropDownList ID="BankName" Label="结算银行" SelectedValue="@Model.Current.BankName" Readonly="true">
                        <f:ListItem Text="请选择结算银行" Value="" />
                        <f:ListItem Text="中国银行" Value="中国银行" />
                        <f:ListItem Text="工商银行" Value="工商银行" />
                        <f:ListItem Text="农业银行" Value="农业银行" />
                        <f:ListItem Text="建设银行" Value="建设银行" />
                        <f:ListItem Text="招商银行" Value="招商银行" />
                        <f:ListItem Text="民生银行" Value="民生银行" />
                        <f:ListItem Text="邮储银行" Value="邮储银行" />
                        <f:ListItem Text="交通银行" Value="交通银行" />
                    </f:DropDownList>
                    <f:TextBox ID="BankAccountName" Label="银行户名" Text="@Model.Current.BankAccountName" Readonly="true"></f:TextBox>
                    <f:TextBox ID="BankAccountNo" Label="银行卡号" Text="@Model.Current.BankAccountNo" Readonly="true"></f:TextBox>
                </Items>
            </f:FormRow>*@
            <f:FormRow ColumnWidths="25% 10% 10% 20%">
                <Items>
                    @* <f:CheckBox ID="IsEnable" Label="参数选项" Text="启用" Checked="@Model.Current.IsEnable" Readonly="true"></f:CheckBox> *@
                    @* <f:CheckBox ID="IsPublic" Label="" Text="公开" Checked="@Model.Current.IsPublic" Readonly="true"></f:CheckBox> *@
                    @*<f:CheckBox ID="AllowMC" Label="" Text="允许会员拿佣金" Checked="@Model.Current.AllowMC" Readonly="true"></f:CheckBox>*@
                </Items>
            </f:FormRow>
            <f:FormRow ColumnWidths="100%">
                <Items>
                    <f:TextArea ID="Memo" Label="备注" Text="@Model.Current.Memo" AutoGrowHeight="true" AutoGrowHeightMin="300" AutoGrowHeightMax="600"></f:TextArea>
                </Items>
            </f:FormRow>
        </Rows>
    </f:Form>


}

@section script {
    <script>

    </script>
}
